package org.wk.account.domain.zhong;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;

/**
 * @ClassName	: SubAccountZhongRechargeBill
 * @Package		：org.wk.digiccy.domain.zhong
 * @Author df.w 
 * @Create Time	：2018年5月10日 上午11:10:03
 * @Description	: 用户子账户 鲸种 充值记录
 */ 
@Entity(name="org.wk.account.domain.zhong.SubAccountZhongRechargeBill")
@Table(name="sub_account_zhong_recharge_bill")
public class SubAccountZhongRechargeBill extends BaseEntity{
	/**
	* @Fields serialVersionUID: long
	* @Desc TODO: 
	*/
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 32)
	@GeneratedValue(generator="system-uuid")
	@GenericGenerator(name="system-uuid",strategy = "uuid")
	private String id;
	@Column
	private String userId;
	
	/**
	 * @Fields amount: BigDecimal
	 * @Desc : 付款金额
	 */
	@Column
	private BigDecimal paymentAmount;
	
	
	/**
	 * @Fields amount: int
	 * @Desc : 鲸种数量
	 */
	@Column
	private int amount;
	/**
	 * @Fields paymentTypeCode: String
	 * @Desc : 付款方式码
	 */
	@Column
	private String paymentTypeCode;
	
	/**
	 * @Fields paymentTypeName: String
	 * @Desc : 付款方式名称
	 */
	@Column
	private String paymentTypeName;
	
	/**
	 * @Fields paymentAccount: String
	 * @Desc : 付款账户
	 */
	@Column
	private String paymentAccount;
	
	/**
	 * @Fields voucher: String
	 * @Desc : 凭证
	 */
	@Column
	private String voucher;
	
	
	
	/**
	 * @return the id
	 */
	
	public String getId() {
		return id;
	}

	
	/**
	 * @param id 要设置的 id
	 */
	
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the userId
	 */
	
	public String getUserId() {
		return userId;
	}
	
	/**
	 * @param userId 要设置的 userId
	 */
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	


	


	public BigDecimal getPaymentAmount() {
		return paymentAmount;
	}


	public void setPaymentAmount(BigDecimal paymentAmount) {
		this.paymentAmount = paymentAmount;
	}


	public int getAmount() {
		return amount;
	}


	public void setAmount(int amount) {
		this.amount = amount;
	}


	public String getPaymentTypeCode() {
		return paymentTypeCode;
	}


	public void setPaymentTypeCode(String paymentTypeCode) {
		this.paymentTypeCode = paymentTypeCode;
	}


	public String getPaymentTypeName() {
		return paymentTypeName;
	}


	public void setPaymentTypeName(String paymentTypeName) {
		this.paymentTypeName = paymentTypeName;
	}


	public String getPaymentAccount() {
		return paymentAccount;
	}


	public void setPaymentAccount(String paymentAccount) {
		this.paymentAccount = paymentAccount;
	}


	public String getVoucher() {
		return voucher;
	}


	public void setVoucher(String voucher) {
		this.voucher = voucher;
	}
	
	
}
